/*
 * @(#)DescriptionContent.java 0.0.1-SNAPSHOT
 *
 * Copyright Group B
 */

package grupb.upf.ms;

/**
 * <p>This interface cointains the properties of a content.</p>
 *
 *
 * @version    0.0.1-SNAPSHOT
 * @author     Group B
 */

public interface DescriptionContent {
    /**
     * This method let us to add a property of the content.
     * @param property is the name of the property
     * @param value is the value of this property
     */
    void addProperty(String property, Object value);

    /**
     * This method let us to get a property of the content.
     * @param property is the name of the property
     * @return the value of this property
     */
    Object getProperty(String property);

    /**
     * This method let us to recover an Array of all the names of the
     * properties which have been added.
     * @return an array of properties' names
     */
    String [] getPropertyNames();
}
